<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_users
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @since		1.6
 */

defined('_JEXEC') or die;
$groupid = (int) JRequest::getVar('groupid');
$article='';
$ga='';
switch($groupid)
{
	case 9:
		$article = JUtility::getArticle(2);
		break;
	case 10:
		$article = JUtility::getArticle(3);
		break;
	case 12:
		$article = JUtility::getArticle(50);
		$ga = '<!-- Google Code for Thank you - Free trial scan Conversion Page -->
					<script type="text/javascript">
					/* <![CDATA[ */
					var google_conversion_id = 1014403434;
					var google_conversion_language = "en";
					var google_conversion_format = "2";
					var google_conversion_color = "ffffff";
					var google_conversion_label = "ddhKCK7ayAYQ6qLa4wM";
					var google_conversion_value = 1000;
					/* ]]> */
					</script>
					<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
					</script>
					<noscript>
					<div style="display:inline;">
					<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1014403434/?value=1000&amp;label=ddhKCK7ayAYQ6qLa4wM&amp;guid=ON&amp;script=0"/>
					</div>
					</noscript>
					';
		break;
	case 11:
	default:
		$article = JUtility::getArticle(4);
		break;
}
echo $ga;
echo $article->introtext;	
?>
<div id="custom-page-heading">
	<h1 class="heading2"><?php echo $article->title; ?></h1>
	<p class="heading2">&nbsp;</p>
</div>

<?php return;?>
<div class="registration-complete<?php echo $this->pageclass_sfx;?>">
	<?php if ($this->params->get('show_page_heading')) : ?>
	<h1>
		<?php echo $this->escape($this->params->get('page_heading')); ?>
	</h1>
	<?php endif; ?>
</div>
